package pers.lws.erp.service.impl;

import pers.lws.erp.entity.ProductionPlanProduct;
import pers.lws.erp.mapper.ProductionPlanProductMapper;
import pers.lws.erp.service.IProductionPlanProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liuws
 * @since 2020-09-22
 */
@Service
public class ProductionPlanProductServiceImpl extends ServiceImpl<ProductionPlanProductMapper, ProductionPlanProduct> implements IProductionPlanProductService {

    @Override
    public List<ProductionPlanProduct> findPlanProduct(String productionId) {
        return baseMapper.findPlanProduct(productionId);
    }

    @Override
    public List<ProductionPlanProduct> findAllPlan(Integer checked,Integer dispatchCheck) {
        return baseMapper.findAllPlan(checked,dispatchCheck);
    }
}
